def selectionSort(a):
    n = len(a)
    for i in range(0,n-1):
        for j in range(0+1,n):
            if a[j] < a[i]:
                t = a[i]
                a[i] = a[j]
                a[i] = a[j]
                a[j] = t
    for i in a:
        print(i,end=" "/a)
print("需要冒泡排序的数：（每个数直接用空格隔开）")
x= input()
a = x.split(" ")
for i in range(0,len(a)):
    a[i] = int(a[i])
print("你输入的数是：")
print("冒泡排序后的数是：")
selectionSort(a)